import request from '@/utils/request'

export function getRightsList () {
  return request(
    {
      url: '/rights/list',
      method: 'GET'
    }
  )
}

export function showSetRightDialog () {
  return request(
    {
      url: '/rights/tree',
      method: 'GET'
    }
  )
}
